package at.home.project.login.model;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "USERS",schema = "HB")
public class users implements Serializable{

	@Id
	@Column(name="USERID")
	private int UserID;
	
	@Column(name="USERNAME")
	private String UserName;
	
	@Column(name="USERPASS")
	private String UserPass;

	public int getUserID() {
		return UserID;
	}

	public void setUserID(int userID) {
		UserID = userID;
	}

	public String getUserName() {
		return UserName;
	}

	public void setUserName(String userName) {
		UserName = userName;
	}

	public String getUserPass() {
		return UserPass;
	}

	public void setUserPass(String userPass) {
		UserPass = userPass;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		long temp;
		temp = Double.doubleToLongBits(UserID);
		result = prime * result + (int) (temp ^ (temp >>> 32));
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		users other = (users) obj;
		if (Double.doubleToLongBits(UserID) != Double
				.doubleToLongBits(other.UserID))
			return false;
		return true;
	}

	@Override
	public String toString() {
		return "";
	}
	
	
}
